<?php
namespace app\api\controller;

use app\common\controller\BaseController;

/**
 * Spots
 */
class CommonController extends BaseController
{

    public function test(){
        $result = ['code' => 200, 'data' => ['time' => date('Y-m-d H:i:s')]];
        return json($result);
    }

}